package com.mdp.structural.composite;

public class Leaf implements IComponent {

	@Override
	public void add(IComponent obj) {
	}

	@Override
	public IComponent getChild(int index) {
		return null;
	}

	@Override
	public void operation() {
		System.out.println("++++" + this + "++++");
	}

	@Override
	public void remove(IComponent obj) {
	}
}
